package com.jintu.portal.pojo.entity.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * @author very
 */
@Data
public class DataInfo implements Serializable {

    @Id
    private String id;

    @Field("username")
    private String username;

    @Field("orderId")
    private String orderId;

    @Field("insertTimestamp")
    private Long insertTimestamp;

    @Field("orderTimestamp")
    private Long orderTimestamp;

    @Field("data")
    private org.bson.Document data;

}
